%!Tex Program = xelatex
\documentclass[a4paper,11pt]{ctexbook}
\usepackage{amssymb,amsmath,amsfonts,amsthm}
%\usepackage{newtxtext,newtxmath}
\usepackage{fontspec,xunicode,xltxtra}
\usepackage[english]{babel}
\usepackage{listings}
\usepackage{mathrsfs}
\usepackage{tikz}

\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt

\renewcommand{\baselinestretch}{1.25}

\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{ulem}
\usepackage{pgf}
\usepackage{graphicx}

\pagestyle{empty}

\usepackage{fancyhdr}
\usepackage{lastpage}
\pagestyle{fancy} %fancyhdr宏包新增的页面风格
\renewcommand{\headrulewidth}{0pt}

\renewcommand\baselinestretch{1.2}
\setlength{\headwidth}{\textwidth}

\newtheorem{theorem}{\heiti{定理}}
\newtheorem{definition}{\heiti{定义}}
\newtheorem{example}{\heiti{例}}

\addto{\captionsenglish}{%
  \renewcommand{\refname}{参考文献}%
  \renewcommand{\proofname}{证明}%
  \renewcommand{\figurename}{图}%
%  \renewcommand{\bibname}{参考文献}%
}

\renewcommand{\theequation}{\arabic{section}.\arabic{equation}}
\renewcommand{\thetheorem}{\arabic{section}.\arabic{theorem}}
\renewcommand{\thedefinition}{\arabic{section}.\arabic{definition}}

\pagestyle{plain}

\begin{document}

\title{有限元方法}

\author{王何宇 \thanks{email: wangheyu@zju.edu.cn} \\ 
        数学科学学院，计算数学系\\
       }
\date{}
\maketitle

%%------------------------------------------

\include{ch01}
\include{ch02}

\bibliographystyle{plain}
\bibliography{crazyfish}
\end{document}
